<div class="wrapper fr-content">
    	<div class="fr-selectbox">
        	<span class="left name">
            	Order Filter:
            </span>
            <select name="order_filter" class="left selectbox">
            	<option>--- Select Orders</option>
            </select>	
            <span class="left name">
            	Source Currency:
            </span>
            <select name="source_currency" class="left selectbox">
            	<option>--- Select Source Currency</option>
                {foreach name=src from=$ALLSRCECURRENCY item=item}
              
                <option id='{$item->bank_id}' value='{$item->bank_id}'> {$item->bank_name} </option>
                              
          		{/foreach}
            </select>
            <span class="left name">
            	Dest Currency:
            </span>
            <select name="dest_currency" class="left selectbox">
            	<option>--- Select Dest Currency</option>
                {foreach name=src from=$ALLECURRENCY item=item}
              
                <option id='{$item->id}' value='{$item->id}'> {$item->ecurrency_name} </option>
                              
          		{/foreach}
            </select>
            <div class="clear"></div>
        </div>	
        <div class="fr-grid">
        	<table width="100%" cellpadding="0" cellspacing="0">
            	<tr>
                	<th width="5%" style="text-align:center"><input type="checkbox" /></th>
                    <th width="19%">Order Number</th>
                    <th width="19%">Source Currency</th>
                    <th width="19%">Source Amount</th>
                    <th width="19%">Destination Currency</th>
                    <th width="19%">Destination Amount</th>
                </tr>	
                <tbody id="buytable">
					{foreach name=cat from=$ALLEXCHANGE.data item=item}
                    	<tr class="grid{cycle values=,grey}">
                            <td width="5%" style="text-align:center"><input type="checkbox" /></td>
                            <td width="19%">{$item->exchange_id}</td>
                            <td width="19%">{$item->ecurrency_name_spend}</td>
                            <td width="19%">{$item->spend_amount}</td>
                            <td width="19%">{$item->ecurrency_name_receive}</td>
                            <td width="19%">{$item->receive_amount}</td>
                        </tr>	
                    {/foreach}
                </tbody>    
        	</table>
            <div class="fr-action">
            	<div class="action left">
                </div>
                <div class="fr-sharepage right">
                	{if $ALLEXCHANGE.TOTALPAGE > '0' }
                    <div>			
                                    
                              <div style="text-align:right; float:right" >{$ALLEXCHANGE.FIRST} {$ALLEXCHANGE.PRE}&nbsp;{$ALLEXCHANGE.LISTPAGE}  {if $smarty.session.LC_ALL eq "en"}Pages{else}Trang{/if} &nbsp; {$ALLEXCHANGE.TOTALPAGE} &nbsp;                   
                                  &nbsp;{$ALLEXCHANGE.NEXT} {$ALLEXCHANGE.LAST}         
                              </div>
                              <div style="clear:both"></div>		
                    </div>	     
                    {/if}
                </div>
                <div class="clear"></div>
            </div>
        </div>
   
	</div>